﻿using Newtonsoft.Json.Linq;
using Credisoft.Models.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Credisoft.Models.Helpers
{
    public class PruebaConexion
    {
        public void prueba(){
            JObject variables = new JObject(
                new JProperty("idSolicitudEmpresa","1"),
                new JProperty("idJefeGrupo","3"),
                new JProperty("idEstacion","1"),
                new JProperty("esExtraordinario",true)
                );
            BonitaConnector.startProcess(BonitaConnector.PROCESS_ONE_INBOX_ASSIGNMENT, BonitaConnector.ID_INSTANTIATE_PROCESS_WITH_VARIABLES,variables);
        }
    }
}